fromName

Helper to provide the ColorType enum for a particular name. If an invalid name is provided, CIEXYZ is returned.

Return

Enum value corresponding to the provided name

Since

4.2.0

Parameters

name

Name of the color type (eg - 'CIEXYZ', 'CIELAB', ...)